package main

import "fmt"

type student struct {
	name string
	age  string
}
type StudentService interface {
	test1() string
	test2() int8
	test3() int16
}
type MapTest map[string]any

type MapIn struct {
}

var MapVar map[string]any

func test1() string {
	//TODO implement me
	return "hello world"
}

func test2() int8 {
	//TODO implement me
	return 0
}

func test3() int16 {
	//TODO implement me
	return 0
}

func (s *student) Name() string {
	return s.name
}

func (s *student) SetName(name string) {
	s.name = name
}

func (s *student) Age() string {
	return s.age
}

func (s *student) SetAge(age string) {
	s.age = age
}

// 多态

func main() {
	var stu student = student{name: "111"}
	fmt.Printf("%+v\n", stu)
	fmt.Printf("%s\n", stu.name)
	fmt.Println(test1())
}
